home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / wordmisc / pcspell / speller2.doc < prev    next >
Text File  |  1988-03-29  |  8KB  |  150 lines

  1.                                 SPELLER2
  2.  
  3.                        AN ASCII FILE SPELL CHECKER
  4.                                    by
  5.                                John Leeson
  6.  
  7.                      
  8. This spell checker works on ASCII files to create a list of misspelled or 
  9. possibly misspelled words. 
  10.  
  11. Hardware requirements : IBM-PC or AT or compatible with 165k free memory
  12.                         One or two disk drives or a hard disk (recommended)
  13.  
  14. Files on the disk include:
  15.  
  16. SPELLER2.EXE -- The spell checking program
  17. SPELLUP2.EXE -- Program for updating spelling lists
  18. SPELLCH2.EXE -- Program to verify SPELLER.LIS has no errors in it
  19. SPELLER .LIS -- The master dictionary word list
  20. SPELLER2.DOC -- This file
  21. SPELL*  .PA4 -- Turbo 4.0 Pascal source code for the .EXE programs
  22.  
  23. Note : If you have been using an earlier release of SPELLER then you can 
  24. continue to use your existing word list SPELLER.LIS. This version is fully 
  25. compatible with earlier versions.
  26.  
  27. The program is activated by the command 
  28.  
  29.        SPELLER2 [filespec] [filespec]
  30.  
  31. The first filespec parameter is the name of the text file to be spell checked. 
  32. If omitted then the program will ask for the name. The name may include a 
  33. drive specifier and/or a path in accordance with DOS syntax for a filespec. 
  34. The disk containing the text file must not be write protected since the 
  35. output file containing the list of possible misspelled words will be written 
  36. to the same disk as the source file. Also, the output file will have the same 
  37. name as the source file except it will have an extension of 'MIS'. If the 
  38. source file had an extension then the extension will be replaced by the '.MIS' 
  39. otherwise the '.MIS' will be appended to the name. The spelling list must be 
  40. in the same directory and drive as the program SPELLER2.EXE and this 
  41. directory must be either the default directory or else the DOS 'PATH' must be 
  42. set up to include the drive and path to the directory containing SPELLER2.EXE 
  43. and SPELLER.LIS. 
  44.  
  45. The second filespec parameter is optional and if specified will select the 
  46. specified file as an auxiliary spelling list.  As with the source file name 
  47. the filespec may contain a drive specifier and path.  If the second parameter 
  48. is not specified or a carriage return only is typed in response to the request 
  49. for this file name then no auxiliary spelling list will be used.  If the 
  50. specified file is not found then SPELLER will say so but go ahead and spell 
  51. check the document without using any aux wordlist. 
  52.  
  53. When the program completes, it will have generated a file called 'name.MIS' on 
  54. your document disk. This file can be used to check the spelling of the 
  55. possibly misspelled words, hunt for and correct the words which are 
  56. misspelled, and then for updating the spelling check dictionary. I use 
  57. PC-Write (c) to edit my document then copy in the file 'name.MIS' at the start 
  58. of the document. Then I use the words in the list with the find/replace 
  59. function to find the word for correction.  
  60.  
  61. After editing the file 'name.MIS' to remove the words which you don't want to 
  62. add to the spelling list, then this file can be used for updating the spelling 
  63. list. Run the program SPELLUP2 which adds the words in the file 'name.MIS' to 
  64. SPELLER.LIS. This is accomplished in SPELLUP2 by dynamically reading and 
  65. rewriting SPELLER.LIS. This allows for having a very large word list on a 
  66. single floppy disk system and still being able to update it. This is a change 
  67. from earlier versions that kept a backup copy of the spelling list on the 
  68. current dictionary disk. It is a very good idea to keep a separate backup copy 
  69. of the spelling list file in case something goes wrong.  
  70.  
  71. SPELLUP2 is called with the command:
  72.  
  73.                     SPELLUP2 [filespec] [filespec] 
  74.  
  75. The first parameter is the DOS drive, path and name of the file with the list 
  76. of words to add to the spelling list.  If omitted then the program will ask 
  77. for it. 
  78.  
  79. The second parameter is the name of the dictionary list to be updated.  This 
  80. name may also include a DOS drive and path specification.  If this parameter 
  81. is omitted then the dictionary file SPELLER.LIS will be updated.  This 
  82. addition to SPELLER allows for updating an auxiliary dictionary file. 
  83.  
  84. There is another little program on the disk which is called SPELLCH2.EXE. This 
  85. program just goes through the dictionary looking for words which are not in 
  86. alphabetical order and counting the dictionary words as it goes. It prints 
  87. pairs of words to the screen which are not in the correct sequence if it 
  88. finds any.  When it gets done you can use your favorite line editor to edit 
  89. the dictionary file to eliminate the out of place or duplicate words.  The 
  90. command line for SPELLCH2 can contain one optional parameter -- the DOS 
  91. filespec of the dictionary file to be checked.  SPELLER.LIS is assumed if no 
  92. parameter is specified. 
  93.  
  94. If you have been using the BASIC program by Andy Wildenberg called PC-SPELL 
  95. version 1.15 (or later?) and want to keep using the list of words which you 
  96. have already established as your dictionary then that can be done. It is 
  97. recommended that you use SPELLER to spell check your PC-SPELL spelling list 
  98. and then use SPELLUP2 to update the SPELLER.LIS file. In this way you will get 
  99. the combined total of both spelling lists and also get rid of any duplicate or 
  100. out of place words in the PC-SPELL dictionary file which PC-SPELL sometimes 
  101. adds. You might also want to check the spelling of the word list you get out 
  102. of the spell check of the PC-SPELL dictionary. The copy I downloaded a long 
  103. time ago had a lot of misspelled words in the list. It takes a lot of time to 
  104. check this list against a dictionary but it is worthwhile to get an accurate 
  105. spelling checker.  
  106.  
  107. VERSION INFO:
  108.  
  109. Original release: SPELLER,  May, 1985
  110.  
  111. Window version  : SPELLERW, Mar, 1986
  112.  
  113. This version removed the on-screen word counters in order to be compatible 
  114. with WINDOWS applications. It also was compiled with Turbo 3.1 and was about 
  115. 25% faster.
  116.  
  117. Second release  : SPELLER2, Mar, 1988
  118.  
  119. This version makes a number of improvements to the earlier release.
  120.  
  121. 1. Compiled with Turbo 4.0. Nearly twice as fast as the original release.
  122. 2. Added the provisions for an auxiliary dictionary.
  123. 3. SPELLUP2 now does the dynamic update of the spelling list to conserve disk 
  124. space. Also allows the auxiliary dictionary to be specified for updating.
  125. 4. SPELLUP2 will now DELETE a word from the spelling list if it is equal to a 
  126. word that is in the dictionary file. This allows you to remove words that you 
  127. don't want in the dictionary (you may find misspelled words or accidentally 
  128. add words that you do not want there).
  129.  
  130. Send comments or whatever to me at the below address if you wish to. Comments 
  131. or suggestions for improvements are always appreciated. Suggestions submitted 
  132. which include a $10.00 donation will receive top priority for consideration 
  133. and entitle the sender to receive a disk with an updated version of SPELLER 
  134. when improvements are made.  
  135.  
  136.  
  137.                                         John Leeson
  138.                                         466 Merritt Rd.
  139.                                         Central City, Ia. 52214
  140.  
  141.  
  142. NOTE: PC-Write is (C) Copyright 1983 by Bob Wallace, Quicksoft.
  143.       Turbo 4.0 is (C) Copyright 1987 by Borland International.
  144.  
  145. SPELLER, SPELLERW and SPELLER2 are released to the public domain. You are 
  146. welcome to copy and freely distribute and use these programs with no fee or 
  147. contribution to the author or any other agency. No fee is to be charged for 
  148. distributing this program other than a nominal copying or access fee not to 
  149. exceed $10.
  150.